home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
text
/
misc
/
MSWordView_src.lha
/
mswordview
/
Makefile
< prev
next >
Wrap
Makefile
|
1999-02-09
|
2KB
|
113 lines
# Generated automatically from Makefile.in by configure.
LDFLAGS =
LIBS = -lz -lm
GETOPT = getopt1.o getopt.o
CC = gcc
LEX = @LEX@
SHELL=/bin/sh
INSTALL = /bin/install -c
INSTALL_DATA = ${INSTALL} -m 644
prefix = /usr/local
exec_prefix = ${prefix}
srcdir = .
bindir = ${exec_prefix}/bin
libdir = ${exec_prefix}/lib
mandir = ${prefix}/man
PERL = @PERL@
CFLAGS = -O2 -DHAVE_CONFIG_H -m68020 -Ioledecod -I. -DPATTERNDIR=\"file:///mswordview:patterns\" -DSYMBOLFONTDIR=\"file:///mswordview:symbolfont\" -DWINGDINGFONTDIR=\"file:///mswordview:wingdingfont\"
MKINSTALLDIRS = $(srcdir)/mkinstalldirs
SHELL = /bin/sh
.SUFFIXES: .C .o
MYOBJECTS = \
mswordview.o \
laolareplace.old.o \
support.o \
list.o \
piecetable.o \
stylesheet.o \
sprm.o \
blip.o \
utf.o \
init_chp.o \
field.o \
formatting.o \
references.o \
gpprl.o \
papchpsep.o \
hyperlink.o \
decompresswmf.o \
table.o \
annotations.o \
roman.o
OLE = oledecod/oledecod.o
all: mswordview
mswordview: $(MYOBJECTS) $(GETOPT) OLEDECODE
$(CC) $(LDFLAGS) -o mswordview $(MYOBJECTS) $(GETOPT) $(OLE) $(LIBS)
support.o: support.c Makefile
$(CC) $(CFLAGS) -c $*.c
laolareplace.o: laolareplace.c Makefile
$(CC) $(CFLAGS) -c $*.c
OLEDECODE:
@echo making oledecod in oledecod
@(cd oledecod && $(MAKE)) || exit 1
%.o: %.c
$(CC) $(CFLAGS) -c $*.c
cleansub:
@echo cleaning oledecod in oledecod
@(cd oledecod && $(MAKE) clean) || exit 1
clean: cleansub
rm -rf $(MYOBJECTS) $(GETOPT) mswordview core a.out
realclean: realcleansub
rm -rf config.cache config.status config.log Makefile config.h lex.yy.c *.o mswordview core out* analyze/*
realcleansub:
@echo real cleaning oledecod in oledecod
@(cd oledecod && $(MAKE) realclean) || exit 1
installdirs:
$(MKINSTALLDIRS) $(bindir) \
$(mandir) \
$(mandir)/man1 \
$(libdir) \
$(libdir)/mswordview \
$(libdir)/mswordview/symbolfont \
$(libdir)/mswordview/wingdingfont \
$(libdir)/mswordview/patterns
install: installdirs $(srcdir)/mswordview
$(INSTALL) $(srcdir)/mswordview $(bindir)/mswordview
$(INSTALL_DATA) $(srcdir)/symbolfont/* $(libdir)/mswordview/symbolfont
$(INSTALL_DATA) $(srcdir)/wingdingfont/* $(libdir)/mswordview/wingdingfont
$(INSTALL_DATA) $(srcdir)/patterns/* $(libdir)/mswordview/patterns
$(INSTALL_DATA) $(srcdir)/mswordview.1 $(mandir)/man1/
# DO NOT DELETE THIS LINE -- make depend depends on it.